package com.aaa.sso.service;

import com.aaa.common.util.Result;

/**
 * @fileName:UserService
 * @description:
 * @author:忆尘
 * @createTime:2020/11/13 16:04
 * @version:1.0.0
 */

public interface UserService {
    /**
     * 用户登录功能
     * @param userName
     * @param passWord
     * @return
     */
    Result userLogin(String userName, String passWord);


    /**
     * 验证token
     * @param accessToken
     * @return
     */
    boolean checkToken(String accessToken);
}
